package com.hzeport.bgs22emduty;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.converters.date.DateDateConverter;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DutyScheduleZGExcelFailVO {


    /**
     * $column.comments
     */
    @ExcelProperty(value = "*值班日期",converter = DateDateConverter.class)
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="D_DAY")
    @JsonProperty(value = "dDay")
    private Date dDay;


    /**
     * $column.comments
     */
    @ApiModelProperty(value="1 电话带班 2在岗带班 3主值班员 4 副值班员")
    @ExcelProperty("*值班类型")
    @TableField(value ="DUTY_TYPE")
    @JsonProperty(value = "dutyType")
    private String dutyType;

    @ExcelProperty("*值班人姓名")
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="D_USERNAME")
    @JsonProperty(value = "dUsername")
    private String dUsername;
    /**
     * $column.comments
     */
    @ApiModelProperty(value="*工号")
    @ExcelProperty("*工号")
    @TableField(value ="D_USERNO")
    @JsonProperty(value = "dUserno")
    private String dUserno;

    /**
     * $column.comments
     */
    @ExcelProperty(value="职务职级")
    @ApiModelProperty(value="职务职级")
    @TableField(value ="DUTYPOST")
    @JsonProperty(value = "dutypost")
    private String dutypost;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="座机")
    @ExcelProperty("座机")
    @TableField(value ="D_PHONE_LAND")
    @JsonProperty(value = "dPhoneLand")
    private String dPhoneLand;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="长号")
    @ExcelProperty("长号")
    @TableField(value ="D_PHONE")
    @JsonProperty(value = "dPhone")
    private String dPhone;


    private Integer needClear;


    @ExcelProperty("错误信息")
    private String e;
}
